package lgkj.meicqt20.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;

import java.io.Serializable;

/**
 * Created by Administrator on 2019/1/17 0017.
 */
@Entity
public class AdverBean implements Serializable {
    /**
     * id   自增
     * ad_id : 646
     * ad_file : http://lianguang.oss-cn-shanghai.aliyuncs.com/20180711/1531295206_1310429972.mp4
     * ad_order : 1
     * ad_file_size : 934955
     * ad_name : 郎睿整形医院7.11
     * adinfo : 0
     */
    @Id(autoincrement = true)
    private Long id;
    private String ad_id;
    private String ad_file;
    @Index(unique = true)//设置唯一性
    private String ad_order;
    private String ad_file_size;
    private String ad_name;
    private String adinfo;
    private String ad_cover;
    public String getAd_cover() {
        return this.ad_cover;
    }
    public void setAd_cover(String ad_cover) {
        this.ad_cover = ad_cover;
    }
    public String getAdinfo() {
        return this.adinfo;
    }
    public void setAdinfo(String adinfo) {
        this.adinfo = adinfo;
    }
    public String getAd_name() {
        return this.ad_name;
    }
    public void setAd_name(String ad_name) {
        this.ad_name = ad_name;
    }
    public String getAd_file_size() {
        return this.ad_file_size;
    }
    public void setAd_file_size(String ad_file_size) {
        this.ad_file_size = ad_file_size;
    }
    public String getAd_order() {
        return this.ad_order;
    }
    public void setAd_order(String ad_order) {
        this.ad_order = ad_order;
    }
    public String getAd_file() {
        return this.ad_file;
    }
    public void setAd_file(String ad_file) {
        this.ad_file = ad_file;
    }
    public String getAd_id() {
        return this.ad_id;
    }
    public void setAd_id(String ad_id) {
        this.ad_id = ad_id;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    @Generated(hash = 784721499)
    public AdverBean(Long id, String ad_id, String ad_file, String ad_order, String ad_file_size,
            String ad_name, String adinfo, String ad_cover) {
        this.id = id;
        this.ad_id = ad_id;
        this.ad_file = ad_file;
        this.ad_order = ad_order;
        this.ad_file_size = ad_file_size;
        this.ad_name = ad_name;
        this.adinfo = adinfo;
        this.ad_cover = ad_cover;
    }
    @Generated(hash = 1677692449)
    public AdverBean() {
    }

    @Override
    public String toString() {
        return "AdverBean{" +
                "id=" + id +
                ", ad_id='" + ad_id + '\'' +
                ", ad_file='" + ad_file + '\'' +
                ", ad_order='" + ad_order + '\'' +
                ", ad_file_size='" + ad_file_size + '\'' +
                ", ad_name='" + ad_name + '\'' +
                ", adinfo='" + adinfo + '\'' +
                ", ad_cover='" + ad_cover + '\'' +
                '}';
    }
}
